package com.acme;

public class App {

    public String getGreeting() {
        System.out.println("new line 1");
        return "Hello world.";
    }


    public void branch(int x) {
        if (x == 1) {
            System.out.println("分支1");
        } else if (x == 2) {
            System.out.println("分支2");
        } else if (x == 3) {
            System.out.println("分支3");
        } else {
            System.out.println("分支4");
        }

    }

    public static void main(String[] args) {
        System.out.println(new App().getGreeting());
    }
}
